function submitForm(){

		var new_passwd = document.getElementById('new_passwd').value;

		if(new_passwd==""){

				alert('请输入新密码！');

				document.getElementById('new_passwd').focus();

				return false;

			}

		var chemNew_passwd = /^(([A-Z])+|([a-z]+)|(\d+)){6,20}$/;

		if(!chemNew_passwd.test(new_passwd)||new_passwd.length>20){
			
			alert("密码长度为6-20个字符，且只允许数字和英文字母，请重新输入！");

			document.getElementById('new_passwd').focus();

			return false;

		}
		
		if(document.getElementById('confirm_password').value==""){

				alert('请输入确认密码！');

				document.getElementById('confirm_password').focus();

				return false;

			}			
		if(document.getElementById('confirm_password').value !=document.getElementById('new_passwd').value){

				alert('两次输入密码不一致，请重新输入！');

				document.getElementById('new_passwd').focus();

				return false;

			}					
			document.addForm.submit();
}